<?php
/* @var $this PostsController */
/* @var $data Posts */
?>
<div class="speedbar">
    <div class="speedbar-content">

        <ul class="menu-drop">
            <li><a href="#"><i class="icon-chevron-down"></i></a>
                <ul>
                    <li><a href="<?php echo Yii::app()->createUrl('admin/main/login'); ?>">Quản lý chung</a></li>
                    <li><a href="<?php echo Yii::app()->createUrl('admin/posts/update', array('id' => 40735020)); ?>">Bài viết giới thiệu</a></li>
                </ul>  
            </li>
        </ul>

        <ul class="menu-speedbar">
            <li><a href="<?php echo Yii::app()->createUrl('admin/posts/admin'); ?>" class="act_link">Quản lý bài viết</a></li>
            <li><a href="<?php echo Yii::app()->createUrl('admin/posts/create'); ?>">Tạo bài viết mới</a></li>
        </ul>
    </div>
</div>
<div class="view">

    <b><?php echo CHtml::encode($data->getAttributeLabel('post_id')); ?>:</b>
    <?php echo CHtml::link(CHtml::encode($data->post_id), array('view', 'id' => $data->post_id)); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('title')); ?>:</b>
    <?php echo CHtml::encode($data->title); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('desc')); ?>:</b>
    <?php echo CHtml::encode($data->desc); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('content')); ?>:</b>
    <?php echo CHtml::encode($data->content); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('picture')); ?>:</b>
    <?php echo CHtml::encode($data->picture); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('status')); ?>:</b>
    <?php echo CHtml::encode($data->status); ?>
    <br />

    <b><?php echo CHtml::encode($data->getAttributeLabel('focus')); ?>:</b>
    <?php echo CHtml::encode($data->focus); ?>
    <br />

    <?php /*
      <b><?php echo CHtml::encode($data->getAttributeLabel('created')); ?>:</b>
      <?php echo CHtml::encode($data->created); ?>
      <br />

      <b><?php echo CHtml::encode($data->getAttributeLabel('type')); ?>:</b>
      <?php echo CHtml::encode($data->type); ?>
      <br />

     */ ?>

</div>